package com.comac.print.component.app.api;

import com.alibaba.cola.dto.Response;
import com.alibaba.cola.dto.SingleResponse;
import com.comac.print.component.app.cmd.MasterPlateCmd;
import com.comac.print.component.app.dto.MasterPlateDTO;
import com.comac.print.component.app.page.PageResponse;
import com.comac.print.component.app.qry.MasterPlateListQry;
import com.comac.print.component.app.qry.VersionListQry;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface MasterPlateService {
    SingleResponse<String> uploadToOss(MultipartFile file);

    Response saveMasterPlate(MasterPlateCmd masterPlateCmd);

    PageResponse<MasterPlateDTO> qryMasterPlateList(MasterPlateListQry masterPlateListQry);

    List<MasterPlateDTO> versionList(VersionListQry versionListQry);

    Response masterPlateDelete(MasterPlateCmd masterPlateCmd);
}
